import request from '@/utils/request'

// 查询报文交换记录列表
export function listMftMessageExchageRecord(query) {
  return request({
    url: '/bt/mftMessageExchageRecord/list',
    method: 'get',
    params: query
  })
}

// 查询报文交换记录详细
export function getMftMessageExchageRecord(id) {
  return request({
    url: '/bt/mftMessageExchageRecord/getInfo/' + id,
    method: 'get'
  })
}

// 新增报文交换记录
export function addMftMessageExchageRecord(data) {
  return request({
    url: '/bt/mftMessageExchageRecord/add',
    method: 'post',
    data: data
  })
}

// 修改报文交换记录
export function updateMftMessageExchageRecord(data) {
  return request({
    url: '/bt/mftMessageExchageRecord/edit',
    method: 'post',
    data: data
  })
}

// 删除报文交换记录
export function delMftMessageExchageRecord(id) {
  return request({
    url: '/bt/mftMessageExchageRecord/remove/' + id,
    method: 'get'
  })
}

// 导出报文交换记录
export function exportMftMessageExchageRecord(query) {
  return request({
    url: '/bt/mftMessageExchageRecord/export',
    method: 'get',
    params: query
  })
}